﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyThietBi.DAL.Models;
using QuanLyThietBi.DAL;

namespace QuanLyThietBi.BLL
{
    public class PhongBanThietBiBO
    {
        public int SavePhongBanThietBi(PHONGBAN_THIETBI pbtb)
        {
            PhongBanThietBiDAO pbtbDAO = new PhongBanThietBiDAO();
            return pbtbDAO.SavePhongBanThietBi(pbtb);
        }

        public int DeletePhongBanThietBi(PHONGBAN_THIETBI pbtb)
        {
            PhongBanThietBiDAO pbtbDAO = new PhongBanThietBiDAO();
            return pbtbDAO.DeletePBTB(pbtb);
        }
    }
}
